package com.project.business.feign;

import com.project.common.RespResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient("storage")
public interface StorageFeign {

    @PostMapping("/storage/deduct")
    public RespResult deduct(@RequestParam("projectId")String projectId,@RequestParam("count") Integer count);

}
